package cn.ytr.crm.service;

import cn.ytr.crm.domain.Customer;
import cn.ytr.crm.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ICustomerService {
	void saveOrUpate(Customer customer);
	void delete(Long id);
	Customer get(Long id);
	List<Customer> listAll();
	
	//高级查询
	PageInfo query(QueryObject qo);

	//修改客户状态
    void updateStatus(Long customerId, Long status);
}
